#include <g-bios.h>
#include <core/timer.h>


#if 1
int main(int argc, char *argv[])
{
	volatile UINT32 count;

#if 1
	for (count = 0; count < 10000; count++) {
		printf("%s(): %d\n", __FUNCTION__, GuGetTick());
	}
#else
	volatile UINT32 m = GuGetTick() + 10;

	do {
		count = GuGetTick();
		if (count & 1)
			printf("%d, %d\n", count, m);
	} while (count < m);
#endif
	return 0;
}

INSTALL_APPLICATION(tt, main, "timer test");
#endif

